<!DOCTYPE html>
<html>
<head>
    <title>业务表的编辑页面</title>
</head>
<body>
<form action="/finance/udpatebusiness" method="post">
    <input type="hidden" name="bid" value="${business.bid}">
<table width="1000px">
    <tr>
        <td>记账事项：
            <select name="itemsid">
                <#list matterlist as matterlist>
                <option value="${matterlist.itemsid}" <#if (business.matter.itemsid==matterlist.itemsid)>selected</#if>>${matterlist.itemsname}</option>
                </#list>
            </select>
        </td>
    </tr>
    <tr>
        <td>业务日期；
            <input type="date" name="businessdate" value="${business.businessdate?string("yyyy-MM-dd")}"/>
        </td>
    </tr>
     <tr>
        <td>关系人；
            <input type="text" name="relation" value="${business.relation}">
        </td>
    </tr>
    <tr>
        <td>往来单位：
            <input type="text" name="workunit" value="${business.workunit}">
        </td>
    </tr>
    <tr>
        <td>事由；
            <input type="text" name="item" value="${business.item}">
        </td>
    </tr>
    <tr>
        <td>进/出账；
            <select name="account">
                <option value="0" <#if business.account==0>selected</#if>>出账</option>
                <option value="1" <#if business.account==1>selected</#if>>进账</option>
                </option>
            </select>
            <input type="text" name="money" value="${business.money}"/>
        </td>
    </tr>
    <tr>
        <td>记录人；
            <input type="text" name="recordName" value="${business.recordName}">
        </td>
    </tr>
    <tr>
        <td>记录时间:
            <input type="date" name="recorddate" value="${business.recorddate?string("yyyy-MM-dd")}"/>
        </td>
    </tr>
    <tr>
        <td>相关车辆:
            <select name="vid">
                <#list vehiclelist as veh>
                <option value="${veh.veid}" <#if (business.vehicle.veid==veh.veid)>selected</#if>>${veh.vename}</option>
                </#list>
            </select>
        </td>
    </tr>
</table>
    <input type="submit" value="提交"/>&nbsp;&nbsp;&nbsp;<input type="reset" value="重置">
</form>
</body>
</html>